package cn.mccraft.uide.api.plugin.extension;

import java.util.Optional;

import cn.mccraft.uide.api.element.Element;
import cn.mccraft.uide.api.project.Project;
import cn.mccraft.uide.api.ui.editor.ElementEditor;
import ro.fortsoft.pf4j.ExtensionPoint;

public interface ElementEditorProvider<E extends Element, EE extends ElementEditor<E>> extends ExtensionPoint{
	
	Optional<EE> createEditor(Project project, E element);

}
